package com.eyeshine.ieoh.ming.application;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Copyright: SinoSoft Co.,Ltd.
 * @Title: GetName
 * @Author: wangbeier
 * @Date: 2018/7/9 11:02
 * @Description:
 */
@RestController
public class GetName {

    @Autowired
    GirlProperties girl;

    @RequestMapping(value = "/getName",method = RequestMethod.GET)
    public String getName(){
        return girl.toString();
    }
}
